package com.dinner.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author dinner
 * @since 2022-02-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="DiMenu对象", description="")
public class DiMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "菜品id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "菜品名字")
    private String meName;

    @ApiModelProperty(value = "菜品图片")
    private String mePicture;

    @ApiModelProperty(value = "菜品描述")
    private String meDescribe;

    @ApiModelProperty(value = "菜品价格")
    private float mePrice;

    @ApiModelProperty(value = "菜品状态 0 有货 1 无货")
    private Integer meStatus;

    @ApiModelProperty(value = "菜品评论 1-5星")
    private Integer meComment;

    @ApiModelProperty(value = "菜品创建时间")
    private Date creatTime;

    @ApiModelProperty(value = "菜品修改时间")
    private Date updTime;


    @ApiModelProperty(value = "菜品销量")
    private Integer menuSale;

    @ApiModelProperty(value = "菜品种类")
    private String menuType;
}
